package fr.jade.fraclite.api.control;

import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.api.control.SuperController;

/**
 * An interface used to notify a component when it is added or removed from a
 * component.
 */

public interface SuperControllerNotifier extends SuperController {

  /**
   * Notifies this component that it has been added in the given component.
   *
   * @param parent the component into which this component has been added.
   */
  void addedToFc (Component parent);

  /**
   * Notifies this component that it has been removed from the given component.
   *
   * @param parent the component from which this component has been removed.
   */
  void removedFromFc (Component parent);
}
